Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Integration] Integration enhancements #1860

Merged

Conversation

RyanL1997
Copy link
Collaborator

@RyanL1997 RyanL1997 commented May 30, 2024

Description

  • Add recursive file lookup for all table creation queries
  • Change the sourceURL to catalog repo's releases
  • Fix the format for the json formatting issue for Apache and Nginx

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Collaborator Author

@RyanL1997 RyanL1997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just noticed that, for the catalog repo, it is using amazon as the name branding for waf and cloudtrail. Based on the previous conversation we had here: #1494, we should keep the AWS branding. I also made a change in catalog repo: opensearch-project/opensearch-catalog#154.
cc: @Swiddis , @YANG-DB .

@@ -0,0 +1,52 @@
{
"name": "apache",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the issue of

Property keys must be doublequoted json(528)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works because of #1732, just the file extensions need to be changed per #1816

@@ -0,0 +1,56 @@
{
"name": "nginx",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same fix for Nginx.

@Swiddis Swiddis added enhancement New feature or request integrations Used to denote items related to the Integrations project labels Jun 3, 2024
@Swiddis
Copy link
Collaborator

Swiddis commented Jun 3, 2024

While we're at it: some of the failures in Link Checker are due to integrations, we could stand to fix those. https://github.com/opensearch-project/dashboards-observability/actions/runs/9327199028/job/25676769475?pr=1860

Signed-off-by: Ryan Liang <jiallian@amazon.com>
Signed-off-by: Ryan Liang <jiallian@amazon.com>
… for apache and nginx

Signed-off-by: Ryan Liang <jiallian@amazon.com>
Signed-off-by: Ryan Liang <jiallian@amazon.com>
@RyanL1997 RyanL1997 force-pushed the integrations-recursive-file-fix branch from a025510 to 2080de8 Compare June 3, 2024 21:25
@YANG-DB YANG-DB merged commit 1944d0b into opensearch-project:main Jun 3, 2024
11 of 18 checks passed
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/dashboards-observability/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/dashboards-observability/backport-2.x
# Create a new branch
git switch --create backport/backport-1860-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1944d0b7de350de01b31c894868ab05165ad25bc
# Push it to GitHub
git push --set-upstream origin backport/backport-1860-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/dashboards-observability/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-1860-to-2.x.

@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.13 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/dashboards-observability/backport-2.13 2.13
# Navigate to the new working tree
pushd ../.worktrees/dashboards-observability/backport-2.13
# Create a new branch
git switch --create backport/backport-1860-to-2.13
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1944d0b7de350de01b31c894868ab05165ad25bc
# Push it to GitHub
git push --set-upstream origin backport/backport-1860-to-2.13
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/dashboards-observability/backport-2.13

Then, create a pull request where the base branch is 2.13 and the compare/head branch is backport/backport-1860-to-2.13.

@RyanL1997
Copy link
Collaborator Author

manual backports will be added

RyanL1997 added a commit to RyanL1997/dashboards-observability that referenced this pull request Jun 3, 2024
* Add recursive file lookup for all table creation queries

Signed-off-by: Ryan Liang <jiallian@amazon.com>

* Change the versions and source urls

Signed-off-by: Ryan Liang <jiallian@amazon.com>

* Change the source url to release of catalog repo, and fix the formats for apache and nginx

Signed-off-by: Ryan Liang <jiallian@amazon.com>

* Reverted some version changes on integrations with only doc link changes

Signed-off-by: Ryan Liang <jiallian@amazon.com>

---------

Signed-off-by: Ryan Liang <jiallian@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.13 backport-failed enhancement New feature or request integrations Used to denote items related to the Integrations project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants